#include<string>
#include<time.h>
std::string GetTime(){
    time_t t=time(NULL);
    struct tm* t1=localtime(&t);
    char t2[64]={0};
    snprintf(t2,sizeof t2,"%d-%d-%d-%d-%d-%d",t1->tm_year+1900,t1->tm_mon+1,t1->tm_mday,t1->tm_hour,t1->tm_min,t1->tm_sec);
    return t2;
}